﻿using System;

namespace 密封类
{
	//关键词：sealed 
	class Program
	{
		static void Main(string[] args)
		{
			Console.WriteLine("Hello World!");
		}
	}
	public sealed class Person:Test_2  //密封类可以继承别的类
	{

	}
	public class Test:Person  //无法继承密封类
	{

	}
	public class Test_2
	{

	}
}
